package com.njit.campuslifeboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njit.campuslifeboot.entity.dto.LifeInfoDTO;
import com.njit.campuslifeboot.entity.dto.ListDTO;
import com.njit.campuslifeboot.entity.po.LifeInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Axin
 * @since 2022-11-07
 */
public interface ILifeInfoService extends IService<LifeInfo> {

    boolean addLifeInfo(LifeInfoDTO lifeInfoDTO, Integer userId,Integer power);

    List<ListDTO> getLifeList(LifeInfoDTO lifeInfoDTO, Integer id);

    List<ListDTO> getLifeListPrivate(LifeInfoDTO lifeInfoDTO, Integer id);

    List<ListDTO> getSomeOneLifeList(LifeInfoDTO lifeInfoDTO);

    List<ListDTO> getFriendsLife(List<String> ids);
}
